#pragma once
#include "Object.h"
#include "ResourceManager.h"
#include "Camera.h"
#include "Platforms.h"
#include "Matrix.h"
#include "Light.h"

class SceneManager
{
private:
	Object** m_Object;
	int m_NumObject;
	int m_ColorIndex;
	static SceneManager* s_Instance;
public:
	Camera* camera;
	Light* light;
	static SceneManager* GetInstance();
	
	void Init(char* file);
	void Draw(int fboId = 0, bool isFill = false, Shader* lightCastShader = NULL);
	Object* GetObject(char* ID);
	Object* GetObject(Vector4 color);
	void Update();

	SceneManager(void);
	~SceneManager(void);
};
